import {commonParams} from "./config";

export function  getExactAddress(http,x,y,keyword) {

  const url = "http://localhost:8080/getExactAddress";

  const data = Object.assign({},commonParams,{
    latitude: x,
    longitude: y,
    keyword: keyword,
    offset: 0,
    limit: 20
  })

  return http.get(url,{params:data});
}
